package com.shenhaofeng.app.log;

import android.app.Application;


/**
 * Created by Administrator on 2016/10/12.
 */
public class GlobalErrorHandler {

    private Application application;


    public GlobalErrorHandler(Application application) {
        this.application = application;
    }


    protected void uncaughtException(Thread.UncaughtExceptionHandler CaptureErrorFileHandler,Thread t, Throwable e) {
        //处理异常
    }


    /**
     * 获取唯一的应用程序对象
     *
     * @return
     */
    public Application getApplication() {
        return application;
    }
}
